cmake_minimum_required(VERSION 3.20)
project(PineaLua)

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

add_executable(PineaLua src/PineaLua.cpp)

target_include_directories(PineaLua PRIVATE ${CMAKE_SOURCE_DIR}/../Pinea/Pinea/include  ${CMAKE_SOURCE_DIR}/include)
target_link_directories(PineaLua PRIVATE ${CMAKE_SOURCE_DIR}/../Pinea/Pinea/lib ${CMAKE_SOURCE_DIR}/lib)
target_link_libraries(PineaLua PRIVATE lua51 Pinea)